package com.company.oa.announcement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("announcement_feedback")
public class AnnouncementFeedback {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long announcementId;
    
    private Long userId;
    
    private String userName;
    
    private Integer rating;
    
    private String comment;
    
    private LocalDateTime createTime;
} 